package shapewar.engine.ext;

import shapewar.engine.calc.Calc;
import shapewar.engine.calc.Pos;
import shapewar.engine.intefac.IMovable;
import shapewar.engine.model.Tank;

public class Animation {
	public Pos target;
	public boolean boolFastMove = false;
	int nSpeed = 5;
	Tank tank;
	Pos pos2;
	float rotation;
	public void perform(Tank tank, Pos pos2,float rotation) {
		this.tank = tank;
		this.pos2 = pos2;
		this.rotation = rotation;
	}
	
	Calc calc = new Calc();
	public void repeat() {
		if(tank!=null)
			tank.setPos(new Pos(0,0));
	}
}
